[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
TextBackground           Sets the Background Color for Text

 TextBackground(Color : Integer);                                        [TP]

    Sets the background color for all new text displayed. Previous text on
    the screen retains its previous background color. The new color
    selected continues to be used until another color is chosen. The
    background color is the color displayed behind the character, versus
    the color of the character itself (foreground color).

                     -------------------------------
                      Values              Color
                     -------------------------------
                        0                 Black
                        1                 Blue
                        2                 Green
                        3                 Cyan
                        4                 Red
                        5                 Magenta
                        6                 Brown
                        7                 LightGray
                     -------------------------------

    Note that the colors listed are predefined as constants having the
    corresponding values, so that a brown background can be generated by
    the procedure TextBackground(Brown).

  -------------------------------- Example ---------------------------------

           TextBackground(Red);     { set background to red }
           TextColor(Blue);         { set text color to blue }

See Also: TextColor
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson